textview: give application developers access to RTL and LTR context
authorChristian Hergert <chergert@redhat.com>
Sat, 19 Jun 2021 19:20:23 +0000 (12:20 -0700)
committerChristian Hergert <chergert@redhat.com>
Sat, 19 Jun 2021 19:28:18 +0000 (12:28 -0700)
commita6101f01815123a3708926361dc6f1950e85da08
tree0e2117eff32312a2b7bae08dbbc5dccc0f1a6944
parent13a2db22381d102258e44e4af7d5828e7c781705
textview: give application developers access to RTL and LTR context

This allows developers to modify the pango context that is used when
rendering text within the text view.

Such access can be useful to alter how rounding occurs with API such as
pango_context_set_round_glyph_positions() and is needed by GtkSourceView
for proper placement of glyphs within the overview map.
gtk/gtktextview.c
gtk/gtktextview.h